package com.thrc.borrow.controller;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

/**
 * 用于实现时生产方法，可删除
 * @author Administrator
 *
 * @param <T>
 */
public interface BaseController<T> {

	public T selectById(HttpServletResponse response,int id);

	public List<T> selectAll(HttpServletResponse response,T t);

	public List<T> selectByPage(HttpServletResponse response,T t);

	public void update(HttpServletResponse response,T t);

	public void delete(HttpServletResponse response,T t);

	public void insert(HttpServletResponse response,T t);

	public int selectCount(HttpServletResponse response,T t);
}
